import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import topvideo from '@/components/topvideo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/topvideo',
      name: 'topvideo',
      component: topvideo
    }
  ]
})
